using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System;

namespace MyUtils
{
	[Serializable]
	public abstract class ObservableMarshaller : MarshalByRefObject, INotifyPropertyChanged
	{
		#region INotifyPropertyChanged Members

		public event PropertyChangedEventHandler PropertyChanged;

		#endregion

		protected void OnPropertyChanged(string name)
		{
			if (PropertyChanged != null)
			{
				PropertyChanged(this, new PropertyChangedEventArgs(name));
			}
		}
	}
}